package ConstructorAccess;

public class Test {
    public static void main(String[] args) {

        Student s1=new Student();//会先访问父类的空参
        Student s2=new Student("haha",23);
        System.out.println(s2.name+","+s2.age);

    }
}
